all:diss.bbl latexbuild viewpdf

diss.bbl:reference/chap1.bib reference/chap2.bib
	-xelatex diss      
	-bibtex diss 
	-xelatex diss

latexbuild:
	-xelatex diss

viewpdf:
	-evince diss.pdf &

clean:
	-rm -f *.tex~ *.blg *.bbl reference/*.log reference/*.aux *.log *.aux *.pdf *.dvi *.out *.lot *.lof *.toc body/*.aux *.tmp >/dev/null 2>&1

